package com.spring.beans.factory.support;

import com.spring.beans.BeansException;
import com.spring.core.io.Resource;
import com.spring.core.io.ResourceLoader;

/**
 * @Description: This is a sample class.
 * @Author: Simon
 */
public interface BeanDefinitionReader {
    BeanDefinitionRegistry getRegistry();

    ResourceLoader getResourceLoader();

    void loadBeanDefinitions(Resource resource) throws BeansException;

    void loadBeanDefinitions(String location) throws BeansException;

    void loadBeanDefinitions(String[] locations) throws BeansException;
}
